

<template>
    <el-config-provider :locale="locale">
        <router-view></router-view>
    </el-config-provider>
</template>

<script>
    //引入vue方法
    import { ElConfigProvider } from 'element-plus'
    //中文包
    import zhCn from 'element-plus/lib/locale/lang/zh-cn'
    //引入自定义方法
    //引入自定义组件
    export default {
    name: 'ZhProvider',
    components: {
        [ElConfigProvider.name]: ElConfigProvider
    },
    setup() {
        let locale = zhCn
        return {
            locale
        }
    }
    }
</script>

<style>
*{
  margin: 0;
  padding: 0;
}
a{
  text-decoration: none;
}
a:visited{
  text-decoration: none;
}
input[type="password"]::-ms-reveal{
 display:none
}
.el-scrollbar__wrap{
    overflow-x: hidden;
}
</style>
